package lzyc.pointsManagement.business.course.mapper;


import lzyc.pointsManagement.business.course.domain.CourseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author liuyuan
* @description 针对表【course_info】的数据库操作Mapper
* @createDate 2024-03-14 21:31:16
* @Entity .domain.CourseInfo
*/
public interface CourseInfoMapper {

    void addCourseInfo(CourseInfo courseInfo);

    List<CourseInfo> queryAllByName(@Param("name") String name);

    void updateCourseInfo(CourseInfo courseInfo);

    void deleteCourseInfoById(String id);

    CourseInfo selectCourseInfoById(String id);

    List<CourseInfo> selectCourseInfoListByPage(@Param("offset") int offset,@Param("size") int size);

    List<CourseInfo> selectStudyGardenListByPage(@Param("offset") int offset,@Param("size") int size);
}




